======================================================================== DYNAMIC LINK LIBRARY : UserModels ======================================================================== AppWizard has created this UserModels DLL for you. This file contains a summary of what you will find in each of the files that make up your UserModels application. UserModels.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. UserModels.cpp This is the main DLL source file. When created, this DLL does not export any symbols. As a result, it will not produce a .lib file when it is built. If you wish this project to be a project dependency of some other project, you will either need to add code to export some symbols from the DLL so that an export library will be produced, or you can check the "doesn't produce lib" checkbox in the Linker settings page for this project. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named UserModels.pch and a precompiled types file named StdAfx.obj. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. ///////////////////////////////////////////////////////////////////////////// /****************************************************************************** * 'User model' Plug-In DLL * for use with C/C++ * * How do I include my equations or curve fitting model? * To include your equations into FindGraph with a 'user model' plugin * follow these steps: * 1. Open this project UserModels.dsp; * 2. Open files Models.cpp and Models.h; * 3. Select any name of your model. For example, "MyEquation"; * 4. Add string DEFINE_MODEL(MyEquation) in Models.h; * 5. Add string MODELS_LIST_ADD(id, MyEquation) in Models.cpp; * Replace id with unical number less 999, for example '101'. * 6. Prepare functions: * MyEquation_Name * MyEquation_Form * MyEquation_Calc * MyEquation_Check * MyEquation_Defau * Use functions Poly_Name, Poly_Form, Poly_Calc, Poly_Check, Poly_Defau * in Models.cpp as template. * 7. Compile this USERMODELS.DLL * 8. Place it in the program FindGraph subfolder "Models". * * To test DLL: * 1. Restart FundGraph; * 2. Start The Wizard of approximation; * 3. On step 2 choose function 'Non-linear'; * 4. On step 3 select family 'User Models'. * If all right, on step 3 your function will appear in functions list. * * Alternatively, if you're unaccustomed to writing DLL's * we'd be happy to produce a plugin for licensed users at no charge, * provided that you can furnish the curve fitting model details: * 1. Model Title. * 2. Equation of function in form Y = f(X,a,b,c,d,g,h,k,l,m). * 3. Default parameters (a,b,c,d,g,h,k,l,m) values. * * Contact us for more information. E-mail: serg@uniphiz.com * ******************************************************************************/